<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'performance_list2.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" type="text/css" href="css/table.css">
</head>
<body>
	<table>
		<caption>所有员工</caption>
		<thead>
			<tr>
				<th><input
					onClick="if(this.checked==true) { checkAll('test'); } else { clearAll('test'); }"
					type="checkbox" value="" name="test" title="全选/取消" />
				</th>
				<th width="10%">编号</th>
				<th>姓名</th>
				<th>日期</th>
				<th>奖励</th>
				<th>扣除</th>
				<th>原因</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody id="tab">

			</tbody>
		<tfoot>
			<tr>
				<td><input
					onClick="if(this.checked==true) { checkAll('test'); } else { clearAll('test'); }"
					type="checkbox" value="" name="test" title="全选/取消" />
				</td>
				<td colspan="11">
					<form method="post" action="performanceAction!listperformanceAction!listEmployee.actionEmployee.action">
					<div class="grayr">
						<span class="disabled"> < </span><span class="current">1</span><a
							href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a
							href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a>...<a
							href="#?page=199">199</a><a href="#?page=200">200</a><a
							href="#?page=2"> > </a>共<s:property value="psu.recordCount" />条记录，共<s:property value="psu.totalPages" />页
					</div>
					</form>
				</td>
			</tr>
		</tfoot>
	</table>
	<script type="text/javascript">
	<!--
		var Ptr = document.getElementById("tab").getElementsByTagName("tr");
		function $() {
			for (i = 1; i < Ptr.length + 1; i++) {
				Ptr[i - 1].style.backgroundColor = (i % 2 > 0) ? "#fff"
						: "#eee";
			}
		}
		window.onload = $;
		for ( var i = 0; i < Ptr.length; i++) {
			Ptr[i].onmouseover = function() {
				this.tmpClass = this.className;
				this.style.backgroundColor = "#ccc";

			};
			Ptr[i].onmouseout = function() {
				for (i = 1; i < Ptr.length + 1; i++) {
					Ptr[i - 1].style.backgroundColor = (i % 2 > 0) ? "#eee"
							: "#fff";
				}
			}
		}
	//-->
	</script>
	<%--<s:iterator value="performanceList" var="performance">
				<tr>
					<td><input type="checkbox" value="a" name="test" />
					</td>
					<td><s:property value="#performance.performance_emp_name" />
					</td>
					<td><s:property value="#performance.performance_emp_name" />
					</td>
					<td><s:property value="#performance.performance_date" />
					</td>
					<td><s:property value="performance_reward" />
					</td>
					<td><s:property value="#performance.performance_penalty" />
					</td>
					<td><s:property value="#performance.performance_reason" />
					</td>
					<td><a
						href="performanceAction!delPerformance.action?performance.performance_id=<s:property value="performance_id" />">[删除]</a>
						<a
						href="performanceAction!showUpdatePerformance.action?performance.performance_id=<s:property value="performance_id" />">[修改]</a></td>
				</tr>
			</s:iterator>


		--%>
</body>
</html>